<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>StringKeyframeTrack - Three.js Docs</title>
	<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<script src="../scripts/highlight.min.js"></script>
	<link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
	<link type="text/css" rel="stylesheet" href="../styles/page.css">
</head>
<body>
		<p class="inheritance" translate="no"><a href="KeyframeTrack.html">KeyframeTrack</a> → </p>
	<h1 translate="no">StringKeyframeTrack</h1>
		<section>
			<header>
				<div class="class-description"><p>A track for string keyframe values.</p></div>
			</header>
			<article>
				<div class="container-overview">
					<h2>Constructor</h2>
					<h3 class="name name-method" id="StringKeyframeTrack" translate="no">new <a href="#StringKeyframeTrack">StringKeyframeTrack</a><span class="signature">( name : <span class="param-type">string</span>, times : <span class="param-type">Array.&lt;number></span>, values : <span class="param-type">Array.&lt;string></span> )</span> </h3>
					<div class="method">
						<div class="description">
							<p>Constructs a new string keyframe track.</p>
<p>This keyframe track type has no <code>interpolation</code> parameter because the
interpolation is always discrete.</p>
						</div>
						<table class="params">
							<tbody>
								<tr>
									<td class="name">
										<strong>name</strong>
									</td>
									<td class="description last">
										<p>The keyframe track's name.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>times</strong>
									</td>
									<td class="description last">
										<p>A list of keyframe times.</p>
									</td>
								</tr>
								<tr>
									<td class="name">
										<strong>values</strong>
									</td>
									<td class="description last">
										<p>A list of keyframe values.</p>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<h2 class="subsection-title">Properties</h2>
				<div class="member">
					<h3 class="name" id="DefaultInterpolation" translate="no">.<a href="#DefaultInterpolation">DefaultInterpolation</a><span class="type-signature"> : <a href="global.html#InterpolateLinear">InterpolateLinear</a> | <a href="global.html#InterpolateDiscrete">InterpolateDiscrete</a> | <a href="global.html#InterpolateSmooth">InterpolateSmooth</a></span> </h3>
					<div class="description">
						<p>The default interpolation type of this keyframe track.</p>
						<p>Default is <code>InterpolateDiscrete</code>.</p>
					</div>
						<dl class="details">
							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="KeyframeTrack.html#DefaultInterpolation">KeyframeTrack#DefaultInterpolation</a></dt>
						</dl>
				</div>
				<div class="member">
					<h3 class="name" id="ValueBufferType" translate="no">.<a href="#ValueBufferType">ValueBufferType</a><span class="type-signature"> : TypedArray | Array</span> </h3>
					<div class="description">
						<p>The value buffer type of this keyframe track.</p>
						<p>Default is <code>Array.constructor</code>.</p>
					</div>
						<dl class="details">
							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="KeyframeTrack.html#ValueBufferType">KeyframeTrack#ValueBufferType</a></dt>
						</dl>
				</div>
				<div class="member">
					<h3 class="name" id="ValueTypeName" translate="no">.<a href="#ValueTypeName">ValueTypeName</a><span class="type-signature"> : String</span> </h3>
					<div class="description">
						<p>The value type name.</p>
						<p>Default is <code>'string'</code>.</p>
					</div>
						<dl class="details">
							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="KeyframeTrack.html#ValueTypeName">KeyframeTrack#ValueTypeName</a></dt>
						</dl>
				</div>
				<h2 class="subsection-title">Source</h2>
				<p>
					<a href="https://github.com/mrdoob/three.js/blob/master/src/animation/tracks/StringKeyframeTrack.js" translate="no" target="_blank" rel="noopener">src/animation/tracks/StringKeyframeTrack.js</a>
				</p>
			</article>
		</section>
<script src="../scripts/linenumber.js"></script>
<script src="../scripts/page.js"></script>
</body>
</html>